package com.enation.app.javashop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 网关服务
 *
 * @author kingapex
 * @version 1.0
 * @since 2.0.0
 * 2018/7/4
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableScheduling
public class GatewayServiceApplication {
    public static void main(String[] args) {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
         SpringApplication.run(GatewayServiceApplication.class, args);


    }
}
